package com.education.wisdom.pojo;

import com.education.common.core.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 视频资源表 jr_resources_pay
 * 
 * @author ruoyi
 * @date 2018-11-22
 */
public class ResourcesPay extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private Integer id;
	/** 资源编号 */
	private String jrResourcesId;
	/** 用户id */
	private String jrUserId;
	/** 删除标记(0：正常，1：删除) */
	private String delFlag;
	/** 付费方式  1现金 2币 */
	private String jrFreeFlagType;
	/** 创建日期 */
	private Date createTime;
	/** 有效时间 */
	private Date effectiveTime;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setJrResourcesId(String jrResourcesId) 
	{
		this.jrResourcesId = jrResourcesId;
	}

	public String getJrResourcesId() 
	{
		return jrResourcesId;
	}
	public void setJrUserId(String jrUserId) 
	{
		this.jrUserId = jrUserId;
	}

	public String getJrUserId() 
	{
		return jrUserId;
	}
	public void setDelFlag(String delFlag) 
	{
		this.delFlag = delFlag;
	}

	public String getDelFlag() 
	{
		return delFlag;
	}
	public void setJrFreeFlagType(String jrFreeFlagType) 
	{
		this.jrFreeFlagType = jrFreeFlagType;
	}

	public String getJrFreeFlagType() 
	{
		return jrFreeFlagType;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setEffectiveTime(Date effectiveTime) 
	{
		this.effectiveTime = effectiveTime;
	}

	public Date getEffectiveTime() 
	{
		return effectiveTime;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("jrResourcesId", getJrResourcesId())
            .append("jrUserId", getJrUserId())
            .append("delFlag", getDelFlag())
            .append("jrFreeFlagType", getJrFreeFlagType())
            .append("createTime", getCreateTime())
            .append("effectiveTime", getEffectiveTime())
            .toString();
    }
}
